<template>
	<view>
		<view>
			<image :src="data.images_list[0]" style="width: 100%;height: 450rpx;"></image>
			<view class="input-box">
				<text class="input">{{data.title}}</text>
			</view>
			<!-- 公司简介 -->
			<view class="body" v-html="data.content"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: {
					images_list: []
				}
			}
		},
		onLoad() {
			uni.request({
				url: 'https://baiyi.kent.work/api/v1/system/getCompanyInfoWx',
				method: 'post',
				data: {},
				success: res => {
					this.data = res.data.data
				}
			})
		}
	}
</script>

<style>
	.input-box {
		width: 320rpx;
		height: 56rpx;
		background: #3d9c36; 
		border-radius: 28rpx;
		margin-left: 110px; 
	}

	.input {
		width: 112rpx;
		height: 56rpx;
		line-height: 56rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #FFFFFF;
		padding-left: 10px;
	}

	.body {
		width: 658rpx;
		height: 288rpx;
		font-size: 24rpx;
		font-family: PingFang SC, PingFang SC-Medium;
		font-weight: 500;
		text-align: LEFT;
		color: #333333;
		line-height: 48rpx;
		margin-left: 46rpx;
		margin-right: 46rpx;
		text-indent: 2em;
		margin-top: 40rpx;
	}
</style>